﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ZK.Common
{
    /// <summary>
    /// 弹窗帮助类
    /// </summary>
    public class MessageDialog
    {
        /// <summary>
        /// MessageBox.Show
        /// </summary>
        /// <param name="str"></param>
        /// <param name="title"></param>
        public static void MessageBoxShow(string str, string title)
        {
            MessageBox.Show(str, title, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static void MessageBoxShow(string str)
        {
            MessageBox.Show(str, "异常提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
        //show led
        public static void ShowLed(string str, string title)
        {
            MessageBox.Show(str, title, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}
